package pkg

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"strconv"
)

func SendSms(mobile string, code int) {
	var r *gin.Engine

	itoa := strconv.Itoa(code)

	r.GET(fmt.Sprintf("https://api.smsbao.com/sms?u=fuyou_1111&p=%S&m={%s}&c={%s}", "3687986c85e843ed8a5bca4b8eefcb8f", mobile, itoa))
}
